/**
 * 
 */
package com.liwei.reflect.proxy;

/**
 * @author liwei2672
 * 
 */
public class ConcreteProxied implements Proxied, Proxied2 {
	public void doSomething() {
		try {
			Thread.sleep(100);
		} catch (InterruptedException e) {
			System.err.println("Error : InterruptedException");
		}
		System.out.println(this.getClass().getSimpleName()
				+ " >> doSomething .");
	}

	public void doSomethingElse(String str) {
		try {
			Thread.sleep(150);
		} catch (InterruptedException e) {
			System.err.println("Error : InterruptedException");
		}
		System.out.println(this.getClass().getSimpleName()
				+ " >> doSomethingElse , argument = " + str + ".");
	}

	public void doSomethingInProxied2() {
		System.out.println("doSomethingInProxied2");
	}
}